/*
 * =====================================================================================
 *
 *       Filename:  2.13.c
 *
 *    Description:  exp 2.13
 *
 *        Version:  1.0
 *        Created:  07/30/2010 08:17:49 AM
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  bucunzai (), 
 *        Company:  bucunzai.info
 *
 * =====================================================================================
 */

#include	<stdlib.h>
#include	<stdio.h>

/* 
 * ===  FUNCTION  ======================================================================
 *         Name:  main
 *  Description:  
 * =====================================================================================
 */
    int
main ( int argc, char *argv[] )
{
    int x=0x66,y=0x93;
    printf("%d\n",x&y);
    printf ( "%d\n",x|y );
    printf ( "%d\n",-x|-y );
    printf ( "%d\n",x&!y );
    printf ( "%d\n",x&&y );
    printf ( "%d\n",x||y );
    printf ( "%d\n",!x||!y );
    printf ( "%d\n",x&&-y );
    return EXIT_SUCCESS;
}				/* ----------  end of function main  ---------- */
